package org.dtrd.modules.flup.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.flup.entity.po.DtrdRlFlupProjectRecord;

/**
 * @author qr
 * @date 2021/12/30 16:46
 */
@ApiModel("复诊流程项目对象")
@Getter
@Setter
public class FlupFlowItem {

    @ApiModelProperty("复诊项目id")
    private Integer projectId;

    @ApiModelProperty("复诊项目的具体项id")
    private Integer flupItemId;

    @ApiModelProperty("项目详情")
    private String projectDetail;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("项目检测数据")
    private String projectData;

    @ApiModelProperty("项目完成状态，1-已完成，0-未完成")
    private Integer projectStatus = 0;

    @ApiModelProperty("执行人")
    private String executor;

    @ApiModelProperty("备注")
    private String remark;

    public FlupFlowItem(DtrdRlFlupProjectRecord po) {
        flupItemId = po.getDataId();
        this.projectId = po.getProjectId();
        this.projectStatus = po.getProjectStatus();
        this.projectName = po.getProjectName();
        this.projectData = po.getProjectData();
        this.remark = po.getProjectSuggest();
    }
}
